package com.tank.thread;

import java.math.BigInteger;

/**
 * Created by Administrator on 2016/2/19.
 */
public class Time33 {

    public static void  main(String[] args){
        String str = "15114039699";
        String md5 = Md5Util.getMd5(str);
        System.out.println("md5:" + md5);
        System.out.println("md5 length:" + md5.length());
        char[] cs = md5.toCharArray();
        Integer hash = 0;
        for(int a:cs){
            hash = hash*33+a;
        }
        System.out.println("hash:" + hash);
        System.out.println("hash length:"+String.valueOf(hash).length());

    }
}
